home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 7 / Amiga Format AFCD07 (Dec 1996, Issue 91).iso / serious / shareware / programming / aros / exec / remmemhandler.c < prev    next >
C/C++ Source or Header  |  1996-09-12  |  1KB  |  65 lines

  1. /*
  2.     (C) 1995-96 AROS - The Amiga Replacement OS
  3.     $Id: remmemhandler.c,v 1.4 1996/08/13 13:56:07 digulla Exp $
  4.     $Log: remmemhandler.c,v $
  5.     Revision 1.4  1996/08/13 13:56:07  digulla
  6.     Replaced __AROS_LA by __AROS_LHA
  7.     Replaced some __AROS_LH*I by __AROS_LH*
  8.     Sorted and added includes
  9.  
  10.     Revision 1.3  1996/08/01 17:41:17  digulla
  11.     Added standard header for all files
  12.  
  13.     Desc:
  14.     Lang: english
  15. */
  16. #include <exec/execbase.h>
  17. #include <aros/libcall.h>
  18.  
  19. /*****************************************************************************
  20.  
  21.     NAME */
  22.     #include <clib/exec_protos.h>
  23.  
  24.     __AROS_LH1(void, RemMemHandler,
  25.  
  26. /*  SYNOPSIS */
  27.     __AROS_LHA(struct Interrupt *, memHandler, A1),
  28.  
  29. /*  LOCATION */
  30.     struct ExecBase *, SysBase, 130, Exec)
  31.  
  32. /*  FUNCTION
  33.     Remove some function added with AddMemHandler again.
  34.  
  35.     INPUTS
  36.     memHandler - The same Interrupt structure you gave to AddMemHandler().
  37.  
  38.     RESULT
  39.  
  40.     NOTES
  41.  
  42.     EXAMPLE
  43.  
  44.     BUGS
  45.  
  46.     SEE ALSO
  47.  
  48.     INTERNALS
  49.  
  50.     HISTORY
  51.        18-10-95    created by m. fleischer
  52.  
  53. ******************************************************************************/
  54. {
  55.     __AROS_FUNC_INIT
  56.  
  57.     /* Protect the low memory handler list */
  58.     Forbid();
  59.     /* Nothing spectacular: Just remove node */
  60.     Remove(&memHandler->is_Node);
  61.     Permit();
  62.     __AROS_FUNC_EXIT
  63. } /* RemMemHandler */
  64.  
  65.